/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.lottery.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.lottery.entity.Prize;
import com.thinkgem.jeesite.modules.lottery.dao.PrizeDao;

/**
 * 活动奖品管理Service
 * @author Muser
 * @version 2019-07-31
 */
@Service
@Transactional(readOnly = true)
public class PrizeService extends CrudService<PrizeDao, Prize> {

	public Prize get(String id) {
		return super.get(id);
	}
	
	public List<Prize> findList(Prize prize) {
		return super.findList(prize);
	}
	
	public Page<Prize> findPage(Page<Prize> page, Prize prize) {
		return super.findPage(page, prize);
	}
	
	@Transactional(readOnly = false)
	public void save(Prize prize) {
		super.save(prize);
	}
	
	@Transactional(readOnly = false)
	public void delete(Prize prize) {
		super.delete(prize);
	}
	
}